<template>
  <div>
    <h1 class="hello-msg">{{msg}}</h1>
    <button @click="onTest">click me</button>
  </div>
</template>
<script>
import RequestHelper from "../common/request-helper";

export default {
  name: "login",
  data() {
    return {
      msg: "hello login"
    };
  },
  methods: {
    onTest() {
      console.log("button clicked");
      RequestHelper.sendAsync();
    }
  }
};
</script>
<style scoped>
.hello-msg {
  background-color: blue;
  color: white;
}
</style>
